package com.wonghiu.framework.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @Author wonghiu
 * @Date 2021/8/10 20:02
 * @Version 1.0.1
 */
@AllArgsConstructor
@Getter
@ToString
public enum HRpcResponseCodeEnum {

    SUCCESS(200, "The remote call is successful"),
    FAIL(500, "The remote call is fail"),
    TIMEOUT_FAIL(600, "The remote call is time out");
    private final int code;

    private final String message;

}